package com.glodon.ggzy.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * GgTdGs entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "GG_TD_GS")
public class GgTdGs implements java.io.Serializable {

	// Fields    

	private String id;

	private String prjId;
	
	private String gsNo;

	private String gsName;

	private Date gsStarttime;

	private Date gsEndtime;

	private Double cjCprice;

	private String gsText;

	private String gsUrlname;

	private Date gsUploadtime;

	// Constructors

	/** default constructor */
	public GgTdGs() {
	}


	// Property accessors
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ID", unique = true, nullable = false, length = 100)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "GS_NO", length = 50)
	public String getGsNo() {
		return this.gsNo;
	}

	public void setGsNo(String gsNo) {
		this.gsNo = gsNo;
	}

	@Column(name = "GS_NAME", length = 300)
	public String getGsName() {
		return this.gsName;
	}

	public void setGsName(String gsName) {
		this.gsName = gsName;
	}

	@Column(name = "GS_STARTTIME", length = 7)
	public Date getGsStarttime() {
		return this.gsStarttime;
	}

	public void setGsStarttime(Date gsStarttime) {
		this.gsStarttime = gsStarttime;
	}

	@Column(name = "GS_ENDTIME", length = 7)
	public Date getGsEndtime() {
		return this.gsEndtime;
	}

	public void setGsEndtime(Date gsEndtime) {
		this.gsEndtime = gsEndtime;
	}

	@Column(name = "CJ_CPRICE", precision = 24, scale = 4)
	public Double getCjCprice() {
		return this.cjCprice;
	}

	public void setCjCprice(Double cjCprice) {
		this.cjCprice = cjCprice;
	}

	@Column(name = "GS_TEXT", length = 3000)
	public String getGsText() {
		return this.gsText;
	}

	public void setGsText(String gsText) {
		this.gsText = gsText;
	}

	@Column(name = "GS_URLNAME", length = 300)
	public String getGsUrlname() {
		return this.gsUrlname;
	}

	public void setGsUrlname(String gsUrlname) {
		this.gsUrlname = gsUrlname;
	}

	@Column(name = "GS_UPLOADTIME", length = 7)
	public Date getGsUploadtime() {
		return this.gsUploadtime;
	}

	public void setGsUploadtime(Date gsUploadtime) {
		this.gsUploadtime = gsUploadtime;
	}

	@Column(name = "PRJ_ID", length = 100)
	public String getPrjId() {
		return prjId;
	}

	public void setPrjId(String prjId) {
		this.prjId = prjId;
	}
}
